package com.xlu.serve.Impl;

import com.xlu.dto.StuDTO;
import com.xlu.mapper.CollegeMapper;
import com.xlu.mapper.StudentMapper;
import com.xlu.serve.CollegeServe;
import com.xlu.serve.StudentServe;
import com.xlu.vo.CollegeVO;
import com.xlu.vo.StudentVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

import java.util.List;

@Component
@Service
public class CollegeServeImpl implements CollegeServe {
    @Autowired
    private CollegeMapper collegeMapper;

    @Override
    public List<CollegeVO> list() {
        List<CollegeVO> collegeVOList = collegeMapper.list();
        return collegeVOList;
    }
}
